#pragma once
#include "afxstd.h"
#include <osg/ref_ptr>
#include <osgViewer/Viewer>
#include <osgUtil/SceneView>
class wxSceneCanvas;
class wxSceneView : public osgViewer::View
{
public:
	wxSceneView();
	void requestRedraw();
	void requestContinuousUpdate(bool needed=true);
	void requestWarpPointer(float x,float y);
	void setCanvas(wxSceneCanvas* _canvas);
	bool isValid() const;
	
private:
	
	//friend class wxSceneCanvas;
	wxSceneCanvas* _canvas;
};

